/*
 *  bomb.cpp
 */

#include "bomb.h"
#include "object.h"

Bomb::Bomb(int objectID, int radius, int speed, Object* owner = NULL)
        : Object(objectID), Mobile(speed)
{
    this->radius = radius;
    this->owner = owner;
}

Bomb::~Bomb() {}

void Bomb::kaboom() {}

void Bomb::doAction()
{
    //if (contact) kaboom();
    //else if (speed != 0) move(dir);
}

bool Bomb::isSolid()
{
    return true;
}

bool Bomb::isDestroyable()
{
    return true;
}

void Bomb::destroy() {}

//{+}

